import Vue from "vue";
import VueRouter from "vue-router";

Vue.use(VueRouter);

const routes = [
  {
    path: "/",
    component: () => import("@/views/index.vue"),
    // redirect: "/index",
  },
  // {
  //   path: "/index",
    
  // }
];

const router = new VueRouter({
  mode: "history",
  base: "/",
  routes,
});

export default router;
